<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns:ui="http://java.sun.com/jsf/facelets"
                template="./WEB-INF/includes/template.xhtml"
                xmlns:h="http://java.sun.com/jsf/html"
                xmlns:f="http://java.sun.com/jsf/core">
    <ui:define name="metadata">
	<f:metadata>
            <f:event type="preRenderView" listener="#{taskListBacking.init()}"/>
	</f:metadata>
    </ui:define>
    <ui:define name="title">
        公文审批--OfficeBoost System
    </ui:define>

    <ui:define name="content">
        <h:form>
            <h:dataTable border="0" value="#{taskListBacking.taskList}" var="row" >
                <h:column> 
                    <f:facet name="header">
                        <h:outputLabel value="待审批公文列表"/>                    
                    </f:facet>

                    <h:link value="#{row.toString()}" outcome="#{taskListBacking.taskTo(row.taskId)}">
                        <f:param name="action" value="examine"/>
                        <f:param name="taskid" value="#{row.taskId}"/>
                    </h:link>
                </h:column>
            </h:dataTable>
        </h:form>
    </ui:define>


</ui:composition>
